﻿<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ include file="header.jsp"%>
<!--main-->
<div id="mainContent">
<s:iterator value="ca.keySet()" var="c">
<div class="ibox">
  <h5><span class="title2">more...</span><span style=" display:inline">${c.name}</span></h5>
  <ul>
  <s:iterator value="ca.get(#c)" var="a" >
  <li>
     <span class="title1">◆</span>
     <s:property value="#a.id"/>
     <a href="detail.action?id=<s:property value="#a.id"/>">
        <s:if test="#a.title.length()>20">
		    <s:property value="#a.title.substring(0, 18)+'...'" />
	    </s:if> 
	    <s:else>
		    <s:property value="#a.title" />
	    </s:else> 
     </a>
     <s:property value="#a.author"/>
     <span class="title2">${a.addtime}</span>
   </li>
  </s:iterator>
  </ul>
  </div>
</s:iterator>
</div>
<%@ include file="footer.jsp"%>